﻿using CNKI.TPI.Web.Search.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CNKI.TPI.Web.Search.IBLL
{
    public interface ICommonService
    {
        /// <summary>
        /// 通过code检索SYS_CMS_DATABASE
        /// </summary>
        /// <param name="dbCode"></param>
        /// <returns></returns>
        SYS_CMS_DATABASE GetDatabaseByCode(string dbCode);

        /// <summary>
        /// 通过id检索SYS_CMS_DATABASE
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        SYS_CMS_DATABASE GetDatabaseByID(int id);
    }
}
